package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.OrderWuliuDaMaBeen;
import cn.xfdzx.android.apps.shop.bean.OrderWuliuShunFengBeen;
import cn.xfdzx.android.apps.shop.contract.XFdOrderWuliuContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class XFdOrderWuliuModel implements XFdOrderWuliuContract.Model {



    @Override
    public Flowable<OrderWuliuDaMaBeen> orderWuliuDama(String orderId) {
        return RetrofitClient.getInstance().getApi().orderWuliuDama(orderId);
    }

    @Override
    public Flowable<OrderWuliuShunFengBeen> orderWuliuFeng(String orderId) {
        return RetrofitClient.getInstance().getApi().orderWuliuFeng(orderId);
    }
}
